package com.dhcc.sds.base.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.cdc.busi.entity.CdcLocationEntity;
import com.dhcc.core.framework.base.entity.BaseEntity;
import com.dhcc.core.modules.system.entity.User;


/**
 * 用户与单病种科室关联关系表
 * 
 * @ClassName: UserDeptCfgEntity
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-06-25 09:45:46
 */
@TableName("t_sds_user_dept_cfg") 
public class SdsUserDeptCfgEntity extends BaseEntity<SdsUserDeptCfgEntity> {
	private static final long serialVersionUID = 1L;
	
	//系统用户ID
	private Long userId;
	private User user;
	//关联科室ID
	private Long departId;
	private CdcLocationEntity location;

	/**
	 * 设置：系统用户ID
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：系统用户ID
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：关联科室ID
	 */
	public void setDepartId(Long departId) {
		this.departId = departId;
	}
	/**
	 * 获取：关联科室ID
	 */
	public Long getDepartId() {
		return departId;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public CdcLocationEntity getLocation() {
		return location;
	}

	public void setLocation(CdcLocationEntity location) {
		this.location = location;
	}
}
